<?php


namespace app\api\model;


class ProductImage extends BaseModel
{
    public $hidden = [
        'delete_time',
        'product_id',
        'img_id'
    ];
    public function img(){
        return $this->hasOne(Image::class,'id','img_id');
    }
}